package com.gupaoedu.task.pattern.template.course;

/**
 * @author djl
 * @Title: BigDataCourse
 * @Description: TODO
 * @date 2019/3/31
 */
public class BigDataCourse extends NetWorkCourse {
    private boolean  needHomeWorkFlag=false;

    public BigDataCourse(boolean needHomeWorkFlag) {
        this.needHomeWorkFlag = needHomeWorkFlag;
    }

    @Override
    void checkHomework() {
        System.out.println("检查大数据作业");
    }

    @Override
    protected boolean needHomework() {
        return this.needHomeWorkFlag;
    }
}
